package com.diko.educms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.diko.educms.entity.EduBanner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author Emma-Li
 * @since 2020-10-13
 */
public interface EduBannerService extends IService<EduBanner> {

    void pageBanner(Page<EduBanner> pageParam, Object o);

    EduBanner getBannerById(String id);

    void saveBanner(EduBanner banner);

    void updateBannerById(EduBanner banner);

    void removeBannerById(String id);

    List<EduBanner> selectIndexList();
}
